<HTML>
<HEAD>
<meta charset="UTF-8">
<title>VideoCaptureSource.addCaptureSourceObserver - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture</a>&nbsp;/&nbsp;<a href="index.html">VideoCaptureSource</a>&nbsp;/&nbsp;<a href="./add-capture-source-observer.html">addCaptureSourceObserver</a><br/>
<br/>
<h1>addCaptureSourceObserver</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.VideoCaptureSource$addCaptureSourceObserver(com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.CaptureSourceObserver)"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">addCaptureSourceObserver</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.VideoCaptureSource$addCaptureSourceObserver(com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture.CaptureSourceObserver)/observer">observer</span><span class="symbol">:</span>&nbsp;<a href="../-capture-source-observer/index.html"><span class="identifier">CaptureSourceObserver</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Add a capture source observer to receive callbacks from the source on lifecycle events
which can be used to trigger UI. This observer is entirely optional.</p>
<h3>Parameters</h3>
<p><a name="observer"></a>
<code>observer</code> - : <a href="../-capture-source-observer/index.html">CaptureSourceObserver</a> - New observer</p>
</BODY>
</HTML>
